package com.stationbuilding;

import com.stationbuilding.bean.DocumentBean;
import com.stationbuilding.bean.FileBean;
import com.stationbuilding.bean.NoticeBean;
import com.stationbuilding.bean.ProjectBean;
import com.stationbuilding.bean.QuestionBean;
import com.stationbuilding.bean.QuestionTypeBean;
import com.stationbuilding.bean.TaskBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by DH-020 on 2018/6/15.
 */

public class TestData {
    // homeList
    public static List<QuestionTypeBean> getSafeData() {
        List<QuestionTypeBean> questionTypeList = new ArrayList<>();
        // 测试数据
        QuestionTypeBean questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("问题总计");
        questionTypeBean.setCount(33);
        questionTypeBean.setScore(90);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("安全管理");
        questionTypeBean.setCount(8);
        questionTypeBean.setScore(20);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("文明施工");
        questionTypeBean.setCount(5);
        questionTypeBean.setScore(14);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("脚手架");
        questionTypeBean.setCount(5);
        questionTypeBean.setScore(14);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("基坑工程");
        questionTypeBean.setCount(4);
        questionTypeBean.setScore(12);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("模板支架");
        questionTypeBean.setCount(3);
        questionTypeBean.setScore(9);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("高处作业");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(5);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("施工用电");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(5);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("安全装置");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(5);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("塔式起重");
        questionTypeBean.setCount(1);
        questionTypeBean.setScore(3);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("施工机具");
        questionTypeBean.setCount(1);
        questionTypeBean.setScore(3);
        questionTypeList.add(questionTypeBean);
        return questionTypeList;
    }
    // homeList
    public static List<QuestionTypeBean> getQualityData() {
        List<QuestionTypeBean> questionTypeList = new ArrayList<>();
        // 测试数据
        QuestionTypeBean questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("问题总计");
        questionTypeBean.setCount(33);
        questionTypeBean.setScore(90);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("地基与基础");
        questionTypeBean.setCount(33);
        questionTypeBean.setScore(90);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("主体工程");
        questionTypeBean.setCount(8);
        questionTypeBean.setScore(20);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("地面工程");
        questionTypeBean.setCount(5);
        questionTypeBean.setScore(14);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("门窗工程");
        questionTypeBean.setCount(5);
        questionTypeBean.setScore(14);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("装饰工程");
        questionTypeBean.setCount(4);
        questionTypeBean.setScore(12);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("屋面防水工程");
        questionTypeBean.setCount(3);
        questionTypeBean.setScore(9);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("建筑管道安装");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(5);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("建筑电气安装");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(5);
        questionTypeList.add(questionTypeBean);
        return questionTypeList;
    }
    // homeList
    public static List<QuestionTypeBean> getProgressData() {
        List<QuestionTypeBean> questionTypeList = new ArrayList<>();
        // 测试数据
        QuestionTypeBean questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("问题总计");
        questionTypeBean.setCount(33);
        questionTypeBean.setScore(90);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("地基与基础");
        questionTypeBean.setCount(8);
        questionTypeBean.setScore(20);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("主体结构");
        questionTypeBean.setCount(5);
        questionTypeBean.setScore(14);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("建筑装修装饰");
        questionTypeBean.setCount(5);
        questionTypeBean.setScore(14);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("屋面");
        questionTypeBean.setCount(4);
        questionTypeBean.setScore(12);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("建筑给水排水");
        questionTypeBean.setCount(3);
        questionTypeBean.setScore(9);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("通风与空调");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(5);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("建筑电气");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(5);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("智能建筑");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(5);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("建筑节能");
        questionTypeBean.setCount(1);
        questionTypeBean.setScore(3);
        questionTypeList.add(questionTypeBean);
        questionTypeBean = new QuestionTypeBean();
        questionTypeBean.setName("电梯");
        questionTypeBean.setCount(2);
        questionTypeBean.setScore(4);
        questionTypeList.add(questionTypeBean);
        return questionTypeList;
    }
    // documentList
    public static List<DocumentBean> getDocumentData() {
        List<DocumentBean> documentList = new ArrayList<>();
        // 测试数据
        DocumentBean documentBean = new DocumentBean();
        documentBean.setDocumentName("工程资料");
        documentBean.setDocumentType(0);
        documentList.add(documentBean);
        documentBean = new DocumentBean();
        documentBean.setDocumentName("平面图纸");
        documentBean.setDocumentType(0);
        documentList.add(documentBean);
        documentBean = new DocumentBean();
        documentBean.setDocumentName("其他文档");
        documentBean.setDocumentType(0);
        documentList.add(documentBean);
        documentBean = new DocumentBean();
        documentBean.setDocumentName("清河站工程概况.docx");
        documentBean.setDocumentType(1);
        documentList.add(documentBean);
        return documentList;
    }
    // documentList
    public static List<TaskBean> getTaskData() {
        List<TaskBean> taskBeanList = new ArrayList<>();
        // 测试数据
        TaskBean taskBean = new TaskBean();
        taskBean.setQuestionName("质量检查");
        taskBean.setHandleDate("2018-05-04");
        taskBean.setProjectName("清河站");
        taskBean.setType("安全");
        taskBean.setHandleUserName("监理王某");
        taskBean.setHandleStatusName("驳回");
        taskBeanList.add(taskBean);
        taskBean = new TaskBean();
        taskBean.setQuestionName("质量检查");
        taskBean.setHandleDate("2018-05-04");
        taskBean.setProjectName("清河站");
        taskBean.setType("安全");
        taskBean.setHandleUserName("监理王某");
        taskBean.setHandleStatusName("驳回");
        taskBeanList.add(taskBean);taskBean = new TaskBean();
        taskBean.setQuestionName("质量检查");
        taskBean.setHandleDate("2018-05-04");
        taskBean.setProjectName("清河站");
        taskBean.setType("安全");
        taskBean.setHandleUserName("监理王某");
        taskBean.setHandleStatusName("驳回");
        taskBeanList.add(taskBean);
        return taskBeanList;
    }
    // documentList
    public static List<QuestionBean> getQuestionData() {
        List<QuestionBean> questionBeanList = new ArrayList<>();
        // 测试数据
        QuestionBean questionBean = new QuestionBean();
        questionBean.setQuestionName("质量检查");
        questionBean.setStartDate("2018-05-04");
        questionBean.setSafeQualityFlag(1);
        questionBean.setInitiator("王某");
        questionBean.setProcessStatusName("进行中");
        questionBeanList.add(questionBean);
        questionBean = new QuestionBean();
        questionBean.setQuestionName("质量检查");
        questionBean.setStartDate("2018-05-04");
        questionBean.setSafeQualityFlag(1);
        questionBean.setInitiator("王某");
        questionBean.setProcessStatusName("进行中");
        questionBeanList.add(questionBean);
        questionBean = new QuestionBean();
        questionBean.setQuestionName("质量检查");
        questionBean.setStartDate("2018-05-04");
        questionBean.setSafeQualityFlag(1);
        questionBean.setInitiator("王某");
        questionBean.setProcessStatusName("进行中");
        questionBeanList.add(questionBean);
        return questionBeanList;
    }
    // documentList
    public static List<NoticeBean> getNoticeData() {
        List<NoticeBean> noticeBeanList = new ArrayList<>();
        // 测试数据
        NoticeBean noticeBean = new NoticeBean();
        noticeBean.setProjectName("清河站");
        noticeBean.setDate("2018-07-01");
        noticeBeanList.add(noticeBean);
        noticeBean = new NoticeBean();
        noticeBean.setProjectName("丰台站");
        noticeBean.setDate("2018-07-02");
        noticeBeanList.add(noticeBean);
        noticeBean = new NoticeBean();
        noticeBean.setProjectName("清河站");
        noticeBean.setDate("2018-07-03");
        noticeBeanList.add(noticeBean);
        return noticeBeanList;
    }
    // documentList
    public static List<ProjectBean> getProjectData() {
        List<ProjectBean> projectBeanList = new ArrayList<>();
        // 测试数据
        ProjectBean projectBean = new ProjectBean();
        projectBean.setProjectName("清河站");
        projectBeanList.add(projectBean);
        projectBean = new ProjectBean();
        projectBean.setProjectName("丰台站");
        projectBeanList.add(projectBean);
        projectBean = new ProjectBean();
        projectBean.setProjectName("清河站");
        projectBeanList.add(projectBean);
        return projectBeanList;
    }
}
